package com.cqupt.service;

import com.cqupt.model.pojo.Book;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cqupt.model.vo.PageVo;

import java.util.List;


public interface BookService extends IService<Book> {

    Book getBook(int bookId);

    List<Book> getAll();

    PageVo<Book> getByCategoryId(int id, Integer pageNum, Integer pageSize);

    List<Book> queryBook(String title);

    PageVo<Book> getBookByPage(Integer pageNum, Integer pageSize);
}
